<?php
declare(strict_types=1);

namespace So\Annotation;

use Hyperf\HttpServer\Annotation\Controller as Base;
use Attribute;

/**
 * 自定义控制器路由注解
 * @Annotation
 * @Target({"CLASS"})
 * @author Saopig <1306222220@qq.com>
 */
#[Attribute(Attribute::TARGET_CLASS)]
class Controller extends Base
{

    /**
     * @var null|string
     */
    public $prefix = '';

    /**
     * @var string
     */
    public $server = 'http';

}
